/* 头部  */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  z-index: 9999;
  border-radius: 10px;
  box-shadow: 5px 5px 5px #999;
  background-color: #0457b7;
  transition: all 0.5s;
  .logo {
    position: absolute;
    top: 28px;
    left: 0;
    width: 300px;
    height: 20px;
    text-align: center;
    .text {
      font-size: 20px;
      font-weight: 400;
      line-height: 27px;
      color: #fff;
      font-family: "ChannelSlanted2";
    }
  }
  .menu-list {
    position: absolute;
    top: 0;
    left: 400px;
    .item {
      float: left;
      a {
        float: left;
        position: relative;
        padding: 0 30px;
        height: 83px;
        width: 124px;
        color: #fff;
        font-size: 16px;
        line-height: 83px;
        text-decoration: none;
        &:hover {
          .t_line {
            display: block;
          }
        }
      }
      .l_line {
        position: absolute;
        background-color: #fff;
        width: 1px;
        height: 13px;
        top: 50%;
        left: 0;
        margin-top: -6.5px;
      }
      .t_line {
        display: none;
        width: 80px;
        height: 4px;
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -40px;
        background-color: #fff;
      }
    }
  }
}
// 内容区域
.content-wrapper {
  padding-top: 84px;
  background-color: #f5f5f5;
  // 侧边栏
  .aside {
    position: fixed;
    top: 90px;
    bottom: 0;
    width: 300px;
    overflow: hidden;
    background-color: #ccc;
    box-shadow: 5px 5px 5px #999;
    border-radius: 10px;
    transition: all 0.5s;
    .aside-nav {
      width: 100%;
      height: 40px;
      background-color: #aaa;
      li {
        float: left;
        text-align: center;
        box-sizing: border-box;
        &.current {
          background-color: #2d8cf0;
        }
      }
      a {
        display: inline-block;
        text-decoration: none;
        width: 150px;
        color: #fff;
        font-size: 16px;
        line-height: 40px;
      }
    }
    // 博主
    .bozhu {
      .img-wrapper {
        margin-top: 50px;
        text-align: center;
        .img {
          display: inline-block;
          border-radius: 50%;
          overflow: hidden;
        }
      }
      .info-wrapper {
        margin-top: 50px;
        padding: 0 30px;
        p {
          color: #666;
          font-size: 16px;
          text-align: left;
        }
      }
      .search-wrapper {
        margin-top: 50px;
        text-align: center;
        input {
          display: inline-block;
          height: 25px;
          outline: none;
          padding: 0 10px;
          background-color: azure;
          border-radius: 10px;
          vertical-align: middle;
        }
        a {
          display: inline-block;
          width: 60px;
          height: 25px;
          background-color: #0457b7;
          color: #fff;
          line-height: 25px;
          text-decoration: none;
          border-radius: 8px;
          vertical-align: middle;
        }
      }
    }
    // 登录注册
    .login-register {
      .userInfo {
        .info {
          margin: 50px 10px;
          padding: 10px;
          height: 100px;
          box-shadow: 5px 5px 2px #fff;
          background-color: rgba(102, 102, 102, 0.5);
          p {
            font-size: 18px;
          }
          span {
            display: inline-block;
            color: #0457b7;
            cursor: pointer;
          }
        }
        .tag {
          width: 100%;
          padding: 10px;
          .tag-title {
            width: 100%;
            margin: 0 auto;
            padding: 10px 20px;
            color: #fff;
            background-color: #2d8cf0;
          }
          .tag-list {
            padding: 10px;
            max-height: 160px;
            overflow: auto;
            background-color: #999;
            li {
              padding: 0 40px;
              margin-bottom: 10px;
              font-size: 16px;
              color: #fff;
              line-height: 26px;
              cursor: pointer;
            }
          }
        }
      }
      .login-wrapper {
        margin: 100px 30px;
        padding: 10px;
        height: 238px;
        background-color: rgba(102, 102, 102, 0.5);
        input {
          display: inline-block;
          width: 190px;
          height: 30px;
          vertical-align: top;
          outline: none;
          padding: 0 10px;
        }
        span {
          display: inline-block;
          width: 30px;
          height: 29px;
          font-size: 18px;
          text-align: center;
          line-height: 30px;
          background-color: #e9ecef;
          vertical-align: top;
        }
        .warning {
          p {
            color: red;
            text-align: center;
          }
        }
        form {
          .user {
            margin: 20px 0 30px;
          }
          .password {
            .icon-lock {
              margin-left: 7px;
            }
          }
        }
        .login-btn {
          a {
            display: block;
            margin-top: 30px;
            width: 218px;
            height: 30px;
            text-align: center;
            color: #fff;
            font-size: 16px;
            line-height: 30px;
            background-color: #0457b7;
            text-decoration: none;
          }
        }
        .toRegister {
          a {
            float: right;
            margin: 8px 3px 0 0;
            text-decoration: none;
          }
        }
      
      }
      .register-wrapper {
        margin: 100px 30px;
        padding: 10px;
        height: 238px;
        background-color: rgba(102, 102, 102, 0.5);
        height: 265px;
        span {
          display: inline-block;
          width: 30px;
          height: 29px;
          font-size: 18px;
          text-align: center;
          line-height: 30px;
          background-color: #e9ecef;
          vertical-align: top;
        }
        input {
          display: inline-block;
          width: 190px;
          height: 30px;
          vertical-align: top;
          outline: none;
          padding: 0 10px;
        }
        .warning {
          p {
            color: red;
            text-align: center;
          }
        }
        form {
          .user {
            margin: 20px 0 15px;
          }
          .password {
            margin-bottom: 15px;
            .icon-lock {
              margin-left: 7px;
            }
          }
          .repassword {
            .icon-lock {
              margin-left: 7px;
            }
          }
        }
        .register-btn {
          a {
            display: block;
            margin-top: 30px;
            width: 218px;
            height: 30px;
            text-align: center;
            color: #fff;
            font-size: 16px;
            line-height: 30px;
            background-color: #0457b7;
            text-decoration: none;
          }
        }
        .toLogin {
          a {
            float: right;
            margin: 8px 3px 0 0;
            text-decoration: none;
          }
          
        }
        
      }
    }
    //底部
    .bottom {
      position: absolute;
      width: 100%;
      bottom: 0;
      left: 0;
      padding: 10px;
      text-align: center;
    }
  }
  
  // 真正主体
  .content {
    margin-left: 300px;
    padding: 40px;
    height: 1000px;
    .artical-item {
      position: relative;
      width: 100%;
      background-color: #ccc;
      height: 300px;
      border-radius: 10px;
      box-shadow: 5px 5px 5px #999;
      padding: 20px;
      margin-bottom: 40px;
      .artical-title {
        font-size: 25px;
        font-weight: 400;
        line-height: 30px;
        padding-bottom: 10px;
        border-bottom: 1px solid #666;
      }
      .artical-time {
        float: right;
        font-size: 14px;
        margin-right: 20px;
      }
      .artical-content {
        font-size: 16px;
        padding: 20px;
        box-shadow: 5px 5px 5px #999 inset;
        max-height: 160px;
        overflow: hidden;
      }
      .artical-bottom {
        position: absolute;
        bottom: 5px;
        left: 20px;
        height: 40px;
        font-size: 18px;
        line-height: 40px;
        .tag {
          display: inline-block;
          padding: 0 10px;
          height: 30px;
          background-color: #0457b7;
          vertical-align: middle;
          color: #fff;
          font-size: 16px;
          line-height: 30px;
          border-radius: 10px;
          text-decoration: none;
        }
      }
      .more {
        position: absolute;
        bottom: 45px;
        right: 0;
        color: #ddd;
        padding: 0 10px;
        margin-right: 25px;
        background-color: rgba(4, 87, 183, .5);
        text-decoration: none;
      }
    }
  }
}
